package io.itit.ecp.admin.provide.action.resp;

import io.itit.grass.common.provide.action.resp.BaseResp;
import io.itit.grass.dict.starter.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;


@Data
@ToString
@EqualsAndHashCode(callSuper = true)
@ApiModel("设备计量统计关联响应结果")
public class DeviceMeterStaticsRes extends BaseResp implements Serializable, ISceneInfoResp {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("所属项目Id")
    private String sceneProjectId;

    @ApiModelProperty("楼栋id")
    private String sceneEdificeId;

    @ApiModelProperty("楼层id")
    private String sceneFloorId;

    @ApiModelProperty("空间id")
    private String sceneRoomId;

    @ApiModelProperty("设备id")
    private String deviceId;

    @ApiModelProperty("模型id")
    private String modelId;

    @ApiModelProperty("所属项目名称")
    private String sceneProjectName;

    @ApiModelProperty("场景名称")
    private String sceneInfoName;

    @ApiModelProperty("设备编码")
    private String deviceCode;

    @ApiModelProperty("设备名称")
    private String deviceName;

    @ApiModelProperty("设备类型")
    @Dict(dictCode = "ecp-admin.device.deviceType")
    private String deviceType;

    @ApiModelProperty("是否重点关注设备")
    @Dict(dictCode = "ecp-admin.device.isFocus")
    private String isFocus;

    @ApiModelProperty("能源类型id")
    private String energyTypeId;

    @ApiModelProperty("能源类型名称")
    private String energyTypeName;

    @ApiModelProperty("读表标识(1:总表,2:分表) >> distCode：ecp-admin.meterDevice.readMeterTag")
    @Dict(dictCode = "ecp-admin.meterDevice.readMeterTag")
    private String readMeterTag;

    @ApiModelProperty("计量值")
    private String value;

    @ApiModelProperty("单位")
    private String unit;

}
